#loading {
	position: fixed;
	top: 1em; right: 1em;
	z-index: 100;
	padding: 2px 4px;
	color: #633;
	background-color: #fee;
	border: 1px solid;
	border-color: #f00 #c00 #c00 #f00;
	text-align: left;
	max-width: 30em;
}

#loading .loading-title {
	background: url(loading.gif) 0 50% no-repeat;
	line-height: 18px;
	padding: 0 0 0 22px;
	margin: 0;
	font-variant: small-caps;
	font-weight: bold;
	font-size: larger;
	letter-spacing: 4px;
}

#loading.big {
	color: #c61;
	background: #fff url(inprogress.gif) 50% 50% no-repeat;
	opacity: 0.85;
	top: 0;
	left: 0;
	right: auto;
	padding: 0;
	margin: 0;
	border-width: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
}
#loading.big .loading-title {
    font-size: 2em;
    padding: 20px;
    background: none;
}
#loading.big .loading-message {
    padding-left: 40px;
    width: 30em;
}

.loading {
	padding-left: 26px;
	min-height: 26px;
	background: #fff url(loading2.gif) 2px 2px no-repeat;
}

.bgloading {
	background: #fff url(loading2.gif) 10% 10% no-repeat;
}

input.loading, button.loading {
	min-height: 0;
	background-image: url(loading.gif);
}
